<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\helpers\Url;

$this->title = '基本资料';
$this->params['breadcrumbs'][] = $this->title;
?>
<!--content-->
<style>
    .ableft{
        background: #f7f7f7;
    }
    .jquery-accordion-menu{
        width: 217px;
    }
    .jquery-accordion-menu>ul>li.active>a, .jquery-accordion-menu>ul>li:hover>a{
        background:#eeeeee;
        border-bottom: 1px solid #eee;
        color: #333;
    }
    .jquery-accordion-menu ul li a{
        background:#eeeeee;
        text-align: left;
    }
    .jquery-accordion-menu>ul>li>a{
        border-bottom: 1px solid #fff;
        padding-left: 18px;
        clear: both;
    }
    .jquery-accordion-menu>ul>li>a i{
        width: 23px;
        display: block;
        float: left;
        text-align: center;
        margin-right: 15px;
    }
    .jquery-accordion-menu>ul>li>a i img{
        vertical-align: middle;
    }
    .jquery-accordion-menu ul ul.submenu>li>a{
        background: none;
        padding-left: 58px;
        font-size: 14px;
    }
    .jquery-accordion-menu ul li a{
        font-size: 16px;
        color: #666;
    }
    .jquery-accordion-menu ul ul.submenu{
        padding-top: 4px;
        clear: both;
    }
    .jquery-accordion-menu ul ul.submenu li{
        font-size: 14px;
    }
    .jquery-accordion-menu ul ul.submenu li a{
        padding-top: 2px;
        padding-bottom: 6px;
    }
</style>
<div class="content">
    <div class="w1113 bgd-ff coheight">
        <div class="clearFloat  pr20">
            <div class="ableft floatLeft">
                <div class="ablewidt">
                    <div class="hydjimg text-center mt30 mb25">
                        <img src="<?= yii::getAlias('@web');?>/images/hydjicon.png" alt="" width="81" height="81" class="hydjic">您好，<?=$member['username'];?>
                    </div>
                    <div class="jquery-accordion-menu">
                        <ul  class="acb">
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon1.png" alt=""></i>修改会员资料</a></li>
                            <li><a href=""><i><img src="<?= yii::getAlias('@web');?>/images/xgicon2.png" alt=""></i>会员升级</a>
                                <ul class="submenu">
                                    <li><a href="#">申请成为理事</a></li>
                                    <li><a href="#">申请成为常务理事</a></li>
                                    <li><a href="#">申请成为副会长</a></li>
                                </ul>
                            </li>
                            <li><a href=""><i><img src="<?= yii::getAlias('@web');?>/images/xgicon3.png" alt=""></i>加入分会</a>
                                <ul class="submenu">
                                    <?php foreach($fenhuis as $fh){ ?>
                                        <?php if(isset($id)){ ?>
                                        <li><a <?php if ($id == $fh['id']){ ?> style="color:#c40400 " <?php } ?> href="<?=yii\helpers\Url::to(['member/applyone','id'=>$fh['id']]);?>"><?=$fh['name'];?></a></li>
                                        <?php }else{ ?>
                                         <li><a href="<?=yii\helpers\Url::to(['member/applyone','id'=>$fh['id']]);?>"><?=$fh['name'];?></a></li>
                                        <?php } ?>
                                    <?php } ?>
                                </ul>
                            </li>
                            <li><a href=""><i><img src="<?= yii::getAlias('@web');?>/images/xgicon4.png" alt=""></i>会议展览报名</a>
                                <ul class="submenu">
                                    <li><a href="#">会议</a></li>
                                    <li><a href="#">防水展</a></li>
                                </ul>
                            </li>
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon5.png" alt=""></i>认证、奖项申请</a></li>
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon6.png" alt=""></i>月度统计</a></li>
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon7.png" alt=""></i>出国考察</a></li>
                            <li><a href="<?=yii\helpers\Url::to(['member/jiaofei']);?>"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon8.png" alt=""></i>会员缴费</a></li>
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon9.png" alt=""></i>发票管理</a>
                                <ul class="submenu">
                                    <li><a href="#">发票索取</a></li>
                                    <li><a href="#">发票列表</a></li>
                                    <li><a href="#">发票信息管理</a></li>
                                    <li><a href="#">发票寄送地址管理</a></li>
                                </ul>
                            </li>
                            <li><a href="#"><i><img src="<?= yii::getAlias('@web');?>/images/xgicon10.png" alt=""></i>修改密码</a></li>
                        </ul>
                    </div>
                </div>
                <script type="text/javascript">
                    jQuery(document).ready(function () {
                        jQuery(".jquery-accordion-menu").jqueryAccordionMenu();

                    });

                    $(function(){
                        //顶部导航切换
                        $(".acb li").click(function(){
                            $(".acb li.active").removeClass("active")
                            $(this).addClass("active");
                        })
                    })
                </script>
            </div>
            <div class="abright floatRight">
                <div class="hyzysx">
                    <h3 class="f18 text-33 mb10">注意事项：</h3>
                    <p class="f14 text-66 line-height-30">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、请在网上填写“会员登记表”并打印一份，首页盖公章，法人签字加盖公章；入会还需提供以下资料：公司营业执照复印件加盖公章；
                        税务登记证复印件加盖公章。<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、会费：实行年费制（自然年）第一年2500元，我们会开具：“全国性社会团体会费统一收据”。<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、如果公司法人或公司地址等信息有变动，请在网站上修改提交联合会审核。
                    </p>
                </div>
                <div class="clearFloat mt10">
                    <table width="100%" class="hydjtable">
                        <tr>
                            <th colspan="2">会员登记表</th>

                        </tr>
                        <tr>
                            <td>企业名称：<?=$member['company'];?></td>
                            <td>姓名：<?=$member['xingming'];?></td>
                        </tr>
                        <tr>
                            <td>座机：<?=$member['farentel'];?></td>
                            <td>手机：<?=$member['phone'];?></td>
                        </tr>
                        <tr>
                            <td>传真：<?=$member['chuanzhen'];?></td>
                            <td>职务：<?=$member['zhiwu'];?></td>
                        </tr>
                        <tr>
                            <td>公司性质：<?=$member['qiyexingzhi'];?></td>
                            <td>企业网站：<?=$member['qyguanwang'];?></td>
                        </tr>
                        <tr>
                            <td>企业所在地：<?=$member['loc_province'];?><?=$member['loc_city'];?><?=$member['loc_town'];?></td>
                            <td>企业通讯地址：<?=$member['address'];?></td>
                        </tr>
                        <tr>
                            <td>邮政编码：<?=$member['youbian'];?></td>
                            <td>联络用邮箱：<?=$member['farenemail'];?></td>
                        </tr>
                        <tr>
                            <td colspan="2">代理商标文字：<?=$member['company'];?></td>
                        </tr>
                        <tr>
                            <td>企业成立日期：<?=$member['chenglidate'];?></td>
                            <td>组织机构代码号：<?=$member['zuzhijgdm'];?></td>
                        </tr>
                        <tr>
                            <td>法人代表姓名：<?=$member['faren'];?></td>
                            <td>单位性质：<?=$member['danweixz'];?></td>
                        </tr>

                        <tr>
                            <td>法人联络邮箱：<?=$member['farenemail'];?></td>
                            <td>注册资金：<?=$member['zhucezj'];?></td>
                        </tr>
                        <tr>
                            <td>注册地址：<?=$member['zhucedizhi'];?></td>
                            <td>注册邮编：<?=$member['zhuceyoubian'];?></td>
                        </tr>
                        <tr >
                            <td colspan="2">经营范围：<?=$member['jyfanwei'];?></td>
                        </tr>
                        <tr>
                            <td>企业品牌：<?=$member['qiyepinpai'];?></td>
                            <td>代理品牌：<?=$member['dailipinpai'];?></td>
                        </tr>
                        <tr>
                            <td>经营模式：<?=$member['jymoshi'];?></td>
                            <td>职工人数：<?=$member['grnum'];?></td>
                        </tr>
                    </table>
                    <div class="clearFloat text-right mt50 mb10">
                        <input type="submit" value="确认" class="hysubmit bgd-c40400">
                    </div>
                </div>


            </div>
        </div>
    </div>
</div>
<script>
    window.onload = function() {
        var h=$('.coheight').outerHeight(true);
        $('.ableft').height(h);
        $('.abright').height(h);
    }
</script>

   